package com.yiwyn.repository;

import com.yiwyn.domain.BookSearchDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookElasticsearchRepository extends ElasticsearchRepository<BookSearchDTO,String> {

    List<BookSearchDTO> findBookSearchDTOSByBookName(String bookName);

}
